//
//  PlaySongListCell.m
//  A段项目音乐播放
//
//  Created by 太阳 on 15/5/28.
//  Copyright (c) 2015年 lanou3g.com蓝鸥科技. All rights reserved.
//

#import "PlaySongListCell.h"
#import "myButton.h"
@implementation PlaySongListCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.button = [myButton buttonWithType:UIButtonTypeSystem];
        self.button.frame = CGRectMake(2, 2, 30, 30);
        UIImage *age = [UIImage imageNamed:@"add"];
        age = [age imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
        UIImageView *imageview = [[[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 25, 25)] autorelease];
        imageview.image = age;
        [self.button addSubview:imageview];
        [self.contentView addSubview:self.button];
        
        self.singleSongLabel = [[UILabel alloc]initWithFrame:CGRectMake(34, 2, 120, 30)];
//        self.singleSongLabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:self.singleSongLabel];
        
        [self.contentView setBackgroundColor:[UIColor clearColor]];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
